@import "../editor-variable.less";

:host {
  display: block;
}

.editor-toolbar {
  height: @editor-toolbar-height;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.toolbar-list {
  height: @editor-toolbar-height;
  display: flex;
  justify-content: center;
  align-items: center;
}

.toolbar-item {
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  color: #666666;

  &:hover {
    background-color: #f5f5f5;
  }

  & + .toolbar-item {
    margin-left: 4px;
  }
}
